#include "triangulo.h"

Triangulo::Triangulo()
{
}

Triangulo::Triangulo(unsigned int vertice1, unsigned int vertice2, unsigned int vertice3)
{
    this->vertice1 = vertice1;
    this->vertice2 = vertice2;
    this->vertice3 = vertice3;
}

Triangulo::~Triangulo()
{
}

unsigned int Triangulo::getVertice1(){
    return this->vertice1;
}

unsigned int Triangulo::getVertice2(){
    return this->vertice2;
}

unsigned int Triangulo::getVertice3(){
    return this->vertice3;
}

void Triangulo::setVertice1(unsigned int val){
    this->vertice1 = val;
}

void Triangulo::setVertice2(unsigned int val){
    this->vertice2 = val;
}

void Triangulo::setVertice3(unsigned int val){
    this->vertice3 = val;
}

void Triangulo::setTriangulo(unsigned int v1, unsigned int v2, unsigned int v3) {
    this->vertice1 = v1;
    this->vertice2 = v2;
    this->vertice3 = v3;
}

void Triangulo::setTriangulo(Triangulo t){
    this->vertice1 = t.vertice1;
    this->vertice2 = t.vertice2;
    this->vertice3 = t.vertice3;
}
